Automattic\WooCommerce\Blocks\Utils\StyleAttributesUtils B

Total Complexity 82
Dependencies 0
Dependents 15
Total lines 685
Lines of code 385
Logical lines of code 170
Comment lines 194
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
get_border_color_class_and_style()
A
50 9 27
get_align_class_and_style()
A
49 7 37
get_classes_and_styles_by_attributes()
S
45 4 46
get_border_radius_class_and_style()
S
52 5 25
get_text_align_class_and_style()
S
53 5 25
get_text_color_class_and_style()
S
54 5 21
get_background_color_class_and_style()
S
54 5 21
get_border_width_class_and_style()
S
54 5 20
get_font_size_class_and_style()
S
56 5 19
get_link_color_class_and_style()
S
54 3 21
get_padding_class_and_style()
S
59 3 14
get_margin_class_and_style()
S
59 3 14
get_color_value()
S
67 3 7
get_spacing_value()
S
67 3 7
get_letter_spacing_class_and_style()
S
63 2 10
get_line_height_class_and_style()
S
63 2 10
get_font_style_class_and_style()
S
63 2 10
get_font_family_class_and_style()
S
64 2 10
get_text_decoration_class_and_style()
S
63 2 10
get_text_transform_class_and_style()
S
63 2 10
get_font_weight_class_and_style()
S
63 2 10
get_preset_value()
S
80 1 3
get_styles_by_attributes()
S
74 1 4
get_classes_by_attributes()
S
74 1 4